package pl.com.like.sequoia.model;

public abstract class Pojo<T> implements IPojo<T> {

	private static final long serialVersionUID = -2159582059104023961L;

	protected T id;

	/**
	 * (non-Javadoc)
	 * 
	 * @see pl.com.like.sequoia.model.IPojo#getId()
	 */
	public T getId() {
		return id;
	}

	public void setId(T id) {
		this.id = id;
	}

	/**
	 * Constructs a <code>String</code> with all attributes in name = value format.
	 * 
	 * @return a <code>String</code> representation of this object.
	 */
	@Override
	public String toString() {
		final String TAB = "    ";

		String retValue = "";
		retValue = "Pojo ( " + super.toString() + TAB + "id = " + this.id + TAB + " )";
		return retValue;
	}

}
